package com.cqrcb.cloud.entity.quota.io;

import com.alibaba.fastjson.annotation.JSONField;
import com.cqrcb.cloud.entity.quota.io.base.QuotaBaseIO;
import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.hibernate.validator.constraints.Length;
import org.hibernate.validator.constraints.NotEmpty;

import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
* Class
* MultiQuotaCtrlMarketMain
*
* @author 系统
* @created Create Time: Mon May 31 19:26:24 CST 2021
*/
@ApiModel(value="入参",description="")
@Data()
public class MultiQuotaCtrlMarketMainIO extends QuotaBaseIO implements Serializable {

    /**
     * 类型 1:金融产品预约金额 2:金融产品销售金额 3:营销额度
     */
    @ApiModelProperty(value="额度类型 1:金融产品预约金额 2:金融产品销售金额 3:营销额度",name="type")
    @NotNull(message = "额度类型不能为空")
    @Length(max = 20, message = "类型 1:金融产品预约金额 2:金融产品销售金额 3:营销额度名长度最长为20")
    private String type;

}